package org.dongan.iot.common.exception;


public class IotException extends Exception {

	private static final long serialVersionUID = 1L;
	
	protected int errorCode;

	protected String message;

	IotException(int errorCode,String message)
	{
		this.errorCode = errorCode;
		this.message = message;
	}
	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	
}
